package com.ssm_basic.egweibo2.mapper;

import com.ssm_basic.egweibo2.pojo.entity.Weibo;
import com.ssm_basic.egweibo2.pojo.vo.WeiboDetailVO;
import com.ssm_basic.egweibo2.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    void insert(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboDetailVO selectDetail(Long id);
}
